package cn.silver.module.system.controller;

import cn.silver.framework.mybatis.controller.BaseController;
import cn.silver.module.system.bean.UserPostBean;
import cn.silver.module.system.domain.SysUserPost;
import cn.silver.module.system.param.PostParam;
import cn.silver.module.system.service.ISysUserPostService;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

/**
 * 用户信息
 *
 * @author Silver Zhou
 */
@Validated
@RestController
@RequiredArgsConstructor
@Tag(name = "系统管理-用户管理")
@RequestMapping("/system/user/post")
public class SysUserPostController extends BaseController<ISysUserPostService, SysUserPost, PostParam, UserPostBean> {

    @Override
    @Resource
    public void setBaseService(ISysUserPostService baseService) {
        this.setTitle("系统管理-用户管理-任职信息管理");
        this.baseService = baseService;
    }
}
